{% require "styles/index.css" %}

{% use "schemas/config" as config %}
  <div class="home-detail content">
    <h2 class="title">
      {{ config.title }}
    </h2>
    {% for goods in config.goodsList %}
      <a href="{{ goods.link }}" class="detail-item">
        <img class="image-detail" src="{{ goods.image }}">
        <p class="detail-p">{{ goods.desc }}</p>
      </a>
    {% endfor %}
  </div>
{% enduse %}

{% require "scripts/index.js" %}
